package swingxrcp.framework.client.swingx.theme;

import java.awt.Toolkit;

import javax.swing.JDialog;
import javax.swing.JFrame;
import javax.swing.UIManager;

public class Theme {

	public static void setTheme(int d) {
		JDialog.setDefaultLookAndFeelDecorated(true);
		JFrame.setDefaultLookAndFeelDecorated(true);
		Toolkit.getDefaultToolkit().setDynamicLayout(true);
		System.setProperty("sun.awt.noerasebackground", "true");

		try {
			UIManager.setLookAndFeel("");
		} catch (Exception e) {
		}
	}
}
